# Author:sp
# CreaTime: $(DATE)
# FileName: $(NAME)
# Description: simple introdution of the code
class Student:
    native_place='陕西'
    def __init__(self,name,age,scores):
        self.name=name
        self.age=age
        self.scores=scores

    def school(self):
        print('长安大学')
    @classmethod
    def college(cls):
        print('电子工程学院')

    @staticmethod
    def grade():
        print('2014')
#类属性的调用
print(Student.native_place)
stu1=Student('jack',18,564)
stu2=Student('tom',17,580)
print(stu1.native_place)
#类属性的修改
Student.native_place='天津'
print(Student.native_place)
print('------类方法的使用方法------')
Student.college()
print('------静态方法的使用方法------')
Student.grade()